home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- repeat while the stillDown = 1
- set the locH of sprite 20 to the mouseH
- set the locV of sprite 20 to the mouseV
- if rollOver(3) and (the castNum of sprite 3 = the number of member "pausebox") then
- set the castNum of sprite 3 to the number of member "pausedown"
- else
- if rollOver(3) and (the castNum of sprite 3 = the number of member "resumenormal") then
- set the castNum of sprite 3 to the number of member "resumedown"
- else
- if (rollOver(3) = 0) and (the castNum of sprite 3 = the number of member "pausedown") then
- set the castNum of sprite 3 to the number of member "pausebox"
- else
- if (rollOver(3) = 0) and (the castNum of sprite 3 = the number of member "resumedown") then
- set the castNum of sprite 3 to the number of member "resumenormal"
- end if
- end if
- end if
- end if
- updateStage()
- end repeat
- end
-
- on mouseUp
- global x
- if rollOver(3) and (the castNum of sprite 3 = the number of member "pausedown") then
- set the castNum of sprite 3 to the number of member "resumenormal"
- updateStage()
- set the movieRate of sprite 2 to 0
- sound stop 2
- set x to x + 1
- else
- set the castNum of sprite 3 to the number of member "pausebox"
- updateStage()
- go(the frame - 1)
- end if
- end
-